// 入口js
import Vue from 'vue'
import {Button} from 'mint-ui'
import App from './App'
import VueLazyload from 'vue-lazyload'
import router from '../router/index'
import store from '../store'
import '../mock/mockServer'//加载mockServer

import loading from '../common/imgs/loading.gif'
// 加载fiters
import '../filters'
// 注册全局组件标签
Vue.component(Button.name, Button)

Vue.use(VueLazyload, {
    loading
  })
new Vue({
    el:'#app',
    render:h => h(App),
    router,
    store
})